package com.java.wmovie.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhw
 * @since 2022-01-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Orders implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId(value = "o_id", type = IdType.AUTO)
    private Integer oId;

    /**
     * 购买的电影id
     */
    private String mName;

    /**
     * 购买的用户id
     */
    private String uName;

    /**
     * 购买数量
     */
    private Integer quantity;

    /**
     * 购买金额
     */
    private BigDecimal amount;

    /**
     * 座位
     */
    private String seat;

    /**
     * 订单场次
     */
    private String times;

}
